package com.fastloan.mgt.application.contract.service.impl.loanmode.mode.ry.model;

/**
 * 融钰手动还款
 *
 * @author yanwe
 * createTime 2018-01-2018/1/16 16:39
 */
public class RyRepaymentRequest {

    /**
     * 接入方订单号
     * Y
     */
    private String agent_order_no;

    /**
     * 还款类型：1 债权已存在，2 接入方新建
     * Y
     */
    private Integer type;

    /**
     * 我方订单号，type为1时必填
     * N
     */
    private String order_no;

    /**
     * 本次需还款的期数编号
     * N
     */
    private String term_no;

    /**
     * 还款属性：1 正常还款，2 提前一次性还清，3 逾期还款
     * Y
     */
    private Integer repayment_type;

    /**
     * 还款方式
     * Y
     */
    private Integer repayment_way;

    /**
     * 借款金额，单位：分
     * Y
     */
    private Integer loan_amount;

    /**
     * 借款人姓名（借款人即还款人）
     * Y
     */
    private String borrower_name;

    /**
     * 借款人证件类型
     * Y
     */
    private String borrower_idtype;

    /**
     * 借款人证件号
     * Y
     */
    private String borrower_idno;

    /**
     * 借款人联系方式（银行预留手机号），type为2时必填
     * N
     */
    private String borrower_contact;

    /**
     * 借款人银行卡号，仅支持储蓄卡，type为2时必填
     * N
     */
    private String borrower_bank_code;

    /**
     * 借款利率百分比，保留4位小数，如 12.8975，type为2时必填
     * N
     */
    private String loan_rate;

    /**
     * 借款利率单位，取值：年、月、日，type为2时必填
     * N
     */
    private String loan_rate_unit;

    /**
     * 借款期限，如 3，type为2时必填
     * N
     */
    private String loan_period;

    /**
     * 借款期限单位，取值：年、月、日，type为2时必填
     * N
     */
    private String loan_period_unit;

    /**
     * 本次还款金额（分），type为2时必填
     * N
     */
    private String repayment_amount;

    public String getAgent_order_no() {
        return agent_order_no;
    }

    public void setAgent_order_no(String agent_order_no) {
        this.agent_order_no = agent_order_no;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getOrder_no() {
        return order_no;
    }

    public void setOrder_no(String order_no) {
        this.order_no = order_no;
    }

    public String getTerm_no() {
        return term_no;
    }

    public void setTerm_no(String term_no) {
        this.term_no = term_no;
    }

    public Integer getRepayment_type() {
        return repayment_type;
    }

    public void setRepayment_type(Integer repayment_type) {
        this.repayment_type = repayment_type;
    }

    public Integer getRepayment_way() {
        return repayment_way;
    }

    public void setRepayment_way(Integer repayment_way) {
        this.repayment_way = repayment_way;
    }

    public Integer getLoan_amount() {
        return loan_amount;
    }

    public void setLoan_amount(Integer loan_amount) {
        this.loan_amount = loan_amount;
    }

    public String getBorrower_name() {
        return borrower_name;
    }

    public void setBorrower_name(String borrower_name) {
        this.borrower_name = borrower_name;
    }

    public String getBorrower_idtype() {
        return borrower_idtype;
    }

    public void setBorrower_idtype(String borrower_idtype) {
        this.borrower_idtype = borrower_idtype;
    }

    public String getBorrower_idno() {
        return borrower_idno;
    }

    public void setBorrower_idno(String borrower_idno) {
        this.borrower_idno = borrower_idno;
    }

    public String getBorrower_contact() {
        return borrower_contact;
    }

    public void setBorrower_contact(String borrower_contact) {
        this.borrower_contact = borrower_contact;
    }

    public String getBorrower_bank_code() {
        return borrower_bank_code;
    }

    public void setBorrower_bank_code(String borrower_bank_code) {
        this.borrower_bank_code = borrower_bank_code;
    }

    public String getLoan_rate() {
        return loan_rate;
    }

    public void setLoan_rate(String loan_rate) {
        this.loan_rate = loan_rate;
    }

    public String getLoan_rate_unit() {
        return loan_rate_unit;
    }

    public void setLoan_rate_unit(String loan_rate_unit) {
        this.loan_rate_unit = loan_rate_unit;
    }

    public String getLoan_period() {
        return loan_period;
    }

    public void setLoan_period(String loan_period) {
        this.loan_period = loan_period;
    }

    public String getLoan_period_unit() {
        return loan_period_unit;
    }

    public void setLoan_period_unit(String loan_period_unit) {
        this.loan_period_unit = loan_period_unit;
    }

    public String getRepayment_amount() {
        return repayment_amount;
    }

    public void setRepayment_amount(String repayment_amount) {
        this.repayment_amount = repayment_amount;
    }
}
